<text><span class="style1">ou can keep this small stack window open at all times for ready access. Simply click the window to make it the active application to either change your status or inquire about someone else.
</span><span class="style4">To Set Your Status</span><span class="style1">
1. Click the radio button on the main screen that indicates your current status.
2. If you wish to supply an explanation or instructions for anyone who wants to locate you, enter that text into the scrolling field below the buttons. When you finish entering text into the field, press the Enter key, or click the mouse pointer anywhere in the window outside of the field.
2. After a moment, a list of participants appears in the top field.
3. Click once on a name to see that person's status. The middle field shows the radio button that person has most recently clicked. If there is also a note to go along with the status, it immediately appears in the large field at the bottom.
4. To return to the main screen, click the Go Back button.
Troubleshooting
1. If your Macintosh is designated as the Server, don't be alarmed when the machine seems to manipulate HyperCard windows by itself. This means that someone on the network is either updating or requesting information from the In-Out Board Server.
2. If you see the alert message: “The In-Out Server is not responding,” this can mean one of the following:
a. The Server Macintosh is not turned on or does not have requisite System7 program sharing turned on.
b. HyperCard is not running on the Server Macintosh;
c. Your copy of In-Out Board is looking to the wrong Macintosh for the Server;
d. There is a network problem.
Here are solutions to these problems:
a. Make sure the Server Macintosh is turned on. Program sharing must be turned on in the Sharing Setup control panel. It must also be turned on for HyperCard (select HyperCard icon in Finder, choose Sharing from the File menu, check the Program sharing checkbox).
b. Turn on the Server Macintosh and start HyperCard.
c. Click the Server... button on your copy of the In-Out Board. Choose the Server Macintosh (and zone if a list of multiple zones appears) and the HyperCard program.
d. If you cannot see the Server Macintosh in the dialog mentioned in (c), and everything in items (a) and (b) check out, then there may be a problem with the Server Macintosh or your Macintosh on the network.</span></text>
</content>
<name>Help</name>
<script></script>
</card>
card_4957.xml
<?xml version="1.0" encoding="utf-8" ?>
<!DOCTYPE card PUBLIC "-//Apple, Inc.//DTD card V 2.0//EN" "" >
A Sample HyperCard/Apple Event Application by Danny Goodman
This application supplements the May 1992 </span><span class="style3">MacUser</span><span class="style1"> article about HyperCard and Apple Events. It is intended for non-commercial distribution.
</span><span class="style4">What This Stack Does:</span><span class="style1"> Provides an electronic In-Out board for an office or department. Users can find out from their desks whether a colleague is in the office, out to lunch, in a meeting, on vacation, and so on. Each user can also attach a description for others to see (e.g., "See Jim P. while I'm away.").
</span><span class="style4">Requires:</span><span class="style1"> HyperCard 2.1 or later;
1. Place a fresh copy of this stack on each Macintosh that intends to participate in the In-Out Board.
2. Designate one Macintosh on the network that will always be running HyperCard as the Server.
3. Make sure the Server Macintosh has Program Linking turned on in the Sharing Setup control panel </span><span class="style4">and</span><span class="style1"> for the HyperCard application file. Also be sure proper user and/or guest access has been initialized on the Server Macintosh's Users & Groups control panel.
4. Start HyperCard on the Server Macintosh.
5. When each user opens the In-Out Board stack for the first time, a dialog box requests that the user locate the Server Macintosh and HyperCard program on the network. The Server... button allows users to change Servers if there is a future change in the network configuration.
When a user clicks one of the radio buttons or closes the Note field on his or her In-Out Board stack, the stacks sends an Apple Event to the Server stack. The address of the Server stack is maintained in a hidden field (“Program Address”) in the first card of each user's stack.
Data goes into a hidden field (“Group Status”) on the first card of the Server stack. This is the information about all users who have sent messages. All copies of the stack have this “Group Status” field, but data is sent only to the Macintosh designated as the Server. Because each copy has this field, however, another Macintosh can be designated the Server on a moment's notice. The data, however, will have to be updated from individual users when the Server changes.
Each line of the “Group Status” field is a complete record about one individual. Each record consists of three items:
HyperCard User Name
Name of the radio button clicked
Text in the Note field
We use ASCII character number 15 (</span><span class="style6">numToChar(15)</span><span class="style1"> in HyperTalk) as an item delimiter, thus allowing users the full range of keyboard-accessible characters for their notes. Moreover, since text may be entered with return characters, these are replaced with ASCII character number 16 (</span><span class="style6">numToChar(16)</span><span class="style1"> in HyperTalk) for storage on the server. When displayed later, these symbols are swapped again for carriage returns.
When the user clicks the Lookup... button, the stack requests data from the Server stack in the form of a list of just the names of people who have entered information into the Server stack. Those names appear in the top field of the second card.
Finally, the user may then click a name in the list. This action sends another request to the Server stack to retrieve the entire record for the selected name. Data is parsed and inserted into the two other fields on the card.</span></text>